﻿using Castle.DynamicProxy;

namespace AbpZeroTemplate
{
    public class LiscenceSkipInterceptor : IInterceptor
    {
        public LiscenceSkipInterceptor()
        {

        }
        public void Intercept(IInvocation invocation)
        {
            if (invocation.Method.Name == "PostInitialize")
            {
                return;
            }
            else
            {
                invocation.Proceed();
            }
        }
    }
}
